Central Article

Using the Central Accordion Tab Component


Mike Chambers

Mike Chambers

Developer Relations Product Manager, Macromedia

Table of Contents

  1. Introduction
  2. Getting Started
  3. Adding Tabs to the Accordion Tab Component
  4. Determining When the User Selects a Tab
  5. Switching Between Views When the Selected Tab Changes
  6. Using the Accordion Tab Component for Application Layout
  7. Adding Favorite Tab Support
  8. Additional Resources

One of the most popular components included with the Macromedia Central SDK is the Accordion Tab component. This component provides a stylized tab-based control that animates the tabs between states.

This article covers a number of techniques that show how to use the Accordion Tab component, including:

  • Adding tabs to the component.
  • Detecting when the selected tab has changed.
  • Using the component to manage the state of multiple views or clips.
  • Using the component without tabs in order to provide user interface layout boundaries.
  • Adding support for animating the favorite icon.

Requirements

To complete this tutorial you need to install the following software and files:

Macromedia Central
Macromedia Central SDK

Macromedia Flash MX 2004


Download the sample files



About the author

Mike Chambers has been creating applications integrating Macromedia Flash with server-side technologies (Macromedia ColdFusion, Java, ASP, Flash Communication Server, and PHP) for a number of years. He is currently the Product Manager for Developer Relations for Macromedia Central. He has written and spoken extensively on Macromedia Flash and Rich Internet Applications and is co-author of "Flash Enabled: Flash Design and Development for Devices" as well as "Generator and Flash Demystified." Mike received his Masters in International Economics and European Studies from the John Hopkins School of Advanced International Studies (SAIS) in 1998.